package com.xing.binbackend.topology.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.SuperBuilder;

import java.util.Map;

@Getter
@Setter
@SuperBuilder
@JsonIgnoreProperties(ignoreUnknown = true)
@EqualsAndHashCode(onlyExplicitlyIncluded = true)
public class Vertex {
    @EqualsAndHashCode.Include
    private String id;
    private String name;
    private final String label = getClass().getSimpleName();
    private Map<String, Object> properties;
}
